package com.zhihuishu.micro.course.dto;

import java.io.Serializable;

/**
 * 
 * @author zhanglikun
 * @date 2015年10月28日 下午3:09:09
 */
public class LessonVideoDto implements Serializable, TreenityDto {

    private static final long serialVersionUID = 1L;

    private Integer id; // 小节ID

    private String name; // 小节名称

    private String fileName; // 小节文件名称

    private String lessonName; // 小节课程名称

    private Long courseId; // 小节所属课程ID

    private Long chapterId; // 小节所属章ID

    private Long lessonId; // 小节所属节ID

    private Integer rank; // 小节序号

    private Long videoId; // 小节关联视频ID

    private Long videoSec; // 小节关联视频时长

    private String videoImg; // 视频封面

    private String videoUrl; // 视频url

    private String videoNetUrl; // 视频来源url

    private String speaker;// 主讲人

    private Integer hasKnowledegPoint;// 是否存在知识点 0 不存在 1 存在

    private Integer fileSize;// 文件大小

    public String getVideoNetUrl() {
        return videoNetUrl;
    }

    public void setVideoNetUrl(String videoNetUrl) {
        this.videoNetUrl = videoNetUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getVideoImg() {
        return videoImg;
    }

    public void setVideoImg(String videoImg) {
        this.videoImg = videoImg;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    public Long getLessonId() {
        return lessonId;
    }

    public void setLessonId(Long lessonId) {
        this.lessonId = lessonId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getVideoSec() {
        return videoSec;
    }

    public void setVideoSec(Long videoSec) {
        this.videoSec = videoSec;
    }

    public String getSpeaker() {
        return speaker;
    }

    public void setSpeaker(String speaker) {
        this.speaker = speaker;
    }

    public Integer getHasKnowledegPoint() {
        return hasKnowledegPoint;
    }

    public void setHasKnowledegPoint(Integer hasKnowledegPoint) {
        this.hasKnowledegPoint = hasKnowledegPoint;
    }

    public Integer getFileSize() {
        return fileSize;
    }

    public void setFileSize(Integer fileSize) {
        this.fileSize = fileSize;
    }

    @Override
    public Long getOneToManyId() {
        return getCourseId();
    }
}
